<lfw:spliter divideSize="200" boundMode="px" id="spliter2" orientation="v">
	<lfw:spliterPanelOne>
		<lfw:layout type="card" cardId="billCard" border="0" cardIndex="${cardIndex}">
			<lfw:layoutPanel cardId="card1">
				<lfw:tab id="headTab">
					<c:forEach var="item" items="${headTab.itemList}">
						<lfw:tabitem id="${item.id}">
							<lfw:border width="1">
								<lfw:grid id="headTab_${item.id}_grid" />
							</lfw:border>
						</lfw:tabitem>
					</c:forEach>
				</lfw:tab>	
			</lfw:layoutPanel>	
			<lfw:layoutPanel cardId="card2">
				<lfw:tab id="headTabCard">
					<c:forEach var="item" items="${headTabCard.itemList}">
						<lfw:tabitem id="${item.id}">
							<lfw:form id="headTab_${item.id}_form" />
						</lfw:tabitem>
					</c:forEach>
				</lfw:tab>	
			</lfw:layoutPanel> 
		</lfw:layout>
	</lfw:spliterPanelOne>
	<lfw:spliterPanelTwo>
		<c:if test="${hasDetail}">
			<lfw:spliter divideSize="35" id="spliter3" boundMode="px" orientation="v" inverse="true">
				<lfw:spliterPanelOne>
					<lfw:tab id="bodyTab">
						<c:if test="${hasBodyMenu}">
							<lfw:tabspace id="rightSpace" width="320" position="right">
								<lfw:menubar id="menubar_body"/>
							</lfw:tabspace>
						</c:if>
						<c:forEach var="item" items="${bodyTab.itemList}">
							<lfw:tabitem id="${item.id}">
								<lfw:border width="1">
									<lfw:grid id="bodyTab_${item.id}_grid" />
								</lfw:border>
							</lfw:tabitem>
						</c:forEach>
					</lfw:tab>
				</lfw:spliterPanelOne>
				<lfw:spliterPanelTwo>     
					<lfw:tab id="tailTab">
						<c:forEach var="item" items="${tailTab.itemList}">
							<lfw:tabitem id="${item.id}">
								<lfw:form id="tailTab_${item.id}_form"/>
							</lfw:tabitem>
						</c:forEach>
					</lfw:tab> 
				</lfw:spliterPanelTwo> 
			</lfw:spliter>
		</c:if>
		<c:if test="${!hasDetail}">
			<lfw:tab id="bodyTab">
				<c:if test="${hasBodyMenu}">
					<lfw:tabspace id="rightSpace" width="320" position="right">
						<lfw:menubar id="menubar_body"/>
					</lfw:tabspace>
				</c:if>
				<c:forEach var="item" items="${bodyTab.itemList}">
					<lfw:tabitem id="${item.id}">
						<lfw:border width="1">
							<lfw:grid id="bodyTab_${item.id}_grid" />
						</lfw:border>
					</lfw:tabitem>
				</c:forEach>
			</lfw:tab>
		</c:if>
	</lfw:spliterPanelTwo> 
</lfw:spliter>
